package org.iabako.shared.entity.enumeration;

import org.iabako.client.tools.Messages;

/**
 * Created by jose on 15/02/14.
 */
public enum InstallmentsFrequency implements LabelEnum{

    periodical("installements_defined_type_periodical"),
    custom("installements_defined_type_custom");

    String labelKey;

    InstallmentsFrequency(String labelKey) {
        this.labelKey = labelKey;
    }

    public String getLabel() {
        return Messages.getLabel(labelKey);
    }

    public String getLabelKey() {
        return labelKey;
    }
}
